package com.example.haoqisystem.respository;

import com.example.haoqisystem.entity.QuestionNaire;
import com.example.haoqisystem.entity.TrainningPlan;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface QuestionNaireRepository extends JpaRepository<QuestionNaire, Long>,
        JpaSpecificationExecutor<QuestionNaire> {
    List<QuestionNaire> findByIdAndDeletedFalse(Long lectureId);
}
